package cn.aj.basic.tdo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SmsCodeDto {
    @NotBlank(message = "手机号码不能为空!")
    private String phone;
    @NotBlank(message = "图形验证码不能为空!")
    private String imageCodeValue;
    @NotBlank(message = "图形验证码的key不能为空!")
    private String imageCodeKey;
}
